package com.briup.oagg.facade.service.dateset;

import com.briup.oagg.facade.web.vm.page.Page;
import com.briup.oagg.facade.web.vm.dataset.ReservoirAddVM;
import com.briup.oagg.facade.web.vm.dataset.ReservoirUpdateVM;
import com.briup.oagg.facade.web.vm.dataset.ReservoirVM;

/**
 * 油气藏信息业务逻辑接口
 *
 * @author briup
 */
public interface IReservoirService {
    /**
     *
     * @param vm
     */
    void addReservoirs(ReservoirAddVM vm);

    /**
     *
     * @param vm
     */
    void updateReservoirs(ReservoirUpdateVM vm);

    /**
     *
     * @param reservoirsId
     */
    void deleteById(String reservoirsId);

    /**
     *
     * @return
     */
    Integer count();

    /**
     *
     * @param basinId
     * @param pageNum
     * @param pageSize
     * @return
     */
    Page<ReservoirVM> findByPage(String basinId, Integer pageNum, Integer pageSize);
}
